/**
 * 
 */
package com.bjtech.domain;

import java.util.Date;

/**
 * @author 王峰
 *
 */
public class User {
	private Long userId; // 用户id

	private String username; // 用户名

	private String realname; // 真实姓名

	private int user_type = 0; // 用户类型

	private int user_state = 0;// 用户状态 0、初始 1、正常 2、删除

	private String sessionId;
	
	private Integer userRole;

	private Date loginTimer; // 登录时间

	private String remoteAddr; // 访问用户ip

	private String welcome = ""; // 欢迎信息
	
	private Long projectId;//所属项目信息

	public Date getLoginTimer() {
		return loginTimer;
	}

	public void setLoginTimer(Date loginTimer) {
		this.loginTimer = loginTimer;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getRemoteAddr() {
		return remoteAddr;
	}

	public void setRemoteAddr(String remoteAddr) {
		this.remoteAddr = remoteAddr;
	}

	public int getUser_type() {
		return user_type;
	}

	public void setUser_type(int user_type) {
		this.user_type = user_type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getWelcome() {
		return welcome;
	}

	public void setWelcome(String welcome) {
		this.welcome = welcome;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public int getUser_state() {
		return user_state;
	}

	public void setUser_state(int user_state) {
		this.user_state = user_state;
	}

	public Integer getUserRole() {
		return userRole;
	}

	public void setUserRole(Integer userRole) {
		this.userRole = userRole;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}
}
